<template>
    <div class="child">
        <h2>我是子组件</h2>
        <GrandChild/>
    </div>
</template>

<script lang="ts" setup name="Child">
import GrandChild from "@/components/GrandChild.vue";
</script>

<style scoped>
.child {
    margin-left: 15px;
    height: 500px;
    width: 80%;
    background-color: aliceblue;
}
</style>
